home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 39
/
Aminet 39 (2000)(Schatztruhe)[!][Oct 2000].iso
/
Aminet
/
mus
/
play
/
DelfMPEG.lha
/
DelfMPEG
/
rexx
/
rewind
< prev
next >
Wrap
Text File
|
2000-07-27
|
421b
|
25 lines
/** DelfMPEG ARexx test **/
/* usage: rx rewind <seconds> */
PARSE ARG seconds
ADDRESS DELFMPEG
OPTIONS RESULTS
if seconds=='' then do
say '(note: missing parameter <seconds> - default value 10)'
seconds=10
end
GETSTATUS
if ((result==0) | (result>=10)) then do
say 'not applicable - player is in STOP mode'
return 5
end
GETPOSITION
newpos=result-seconds
if newpos<0 then newpos=0
SETPOSITION newpos